import {QueryPage} from "@/api/common/type.ts";

export interface IncreaseMachinePricing{
    id: number | undefined,
    configurationType: string | undefined,  // 配置类型
    basicPrice: number | undefined,  // 基础价格
    pricePerMeter: number | undefined,  // 每米价格
    increaseLength: number | undefined,  // 增加长度
    price: number | undefined,  // 价格
    installationCosts: number | undefined,  // 安装费
    project: string | undefined,  // 项目名称
    configuration: string | undefined,  // 配置
    activate?: number | undefined,  // 状态：1-生效，0-失效
    isDelete?: number | undefined,  // 是否删除
    createTime?: string | undefined,  // 创建时间
    updateTime?: string | undefined,  // 更新时间
    createBy?: string | undefined,  // 创建人
    updateBy?: string | undefined,  // 更新人
    createId?: number | undefined,    // 创建人ID
    createName?: string | undefined,  // 创建人姓名
    updateId?: number | undefined,    // 更新人ID
    updateName?: string | undefined,  // 更新人姓名
    sum: number | undefined,  // 合计价格
    number: number | undefined,  // 数量
    totalPrice: number | undefined,  // 总价
}

export interface IncreaseMachinePricingQueryDto extends QueryPage{
    configurationType?: string,
    basicPrice?: number,
    pricePerMeter?: number,
    increaseLength?: number,
    price?: number,
    installationCosts?: number,
    project?: string,
    configuration?: string,
    sum?: number,
    number?: number,
    totalPrice?: number,
    activate?: number,
}

export interface IncreaseMachinePricingBatchCopyDto {
    sourceIds: number[],
    targetProject: string,
} 